﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace School.Pages.Admission
{
    public class fillcrls
    {

        public  Boolean fillddlcrls(System.Web.UI.WebControls.DropDownList crlname)
        {
            try
            {
                int i;
                for (i = 1965; i < DateTime.Now.Year; i++)
                {
                    crlname.Items.Add(i.ToString());

                }
                return true;
            }
            catch
            {
                return false;
            }
        }
    }
}